package com.syl.starter.itools.framework.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 下载contentType 类型枚举
 * @author syl
 * @create 2018-10-11 16:43
 **/
@Getter
@AllArgsConstructor
public enum DownTypeEnum {
    X_MS_DOWNLOAD("application/x-msdownload", null),
    CONTENT_DISPOSITION("content-disposition", null),
    OCTET_STREAM("octet-stream", null),
    M3U8("application/vnd.apple.mpegurl", "m3u8"),
    MP4("video/mp4", "mp4"),
    FLV("video/x-flv", "flv"),

    ;

    private String contentType;
    private String suffix;

    public String getContentType() {
        return contentType;
    }

}
